package com.sishu.websocket4.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sishu.websocket4.pojo.Tiku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TikuMapper extends BaseMapper<Tiku> {


    @Select("select * from question_bank")
    List<Tiku> selcetAll();

    @Select("select * from question_bank where question_id = #{questionId}")
    Tiku selectbyquestionid(String questionId);

}
